<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>精灵图</title>
		<style type="text/css">
			.box1 {
				width: 60px;
				height: 60px;
				margin: 100px auto;
				background: url(imgs/index.png) no-repeat -182px 0;
			}

			.box2 {
				width: 238px;
				height: 128px;
				margin: 100px auto;
				background: url(imgs/index.png) no-repeat 0 -219px;
				border-radius: 20px;
			}
		</style>
	</head>
	<body>

		<a href="http://www.baidu.com">
			<div class="box1"></div>
		</a>

	<div class="box2"></div>
	</body>
</html>
